import React, { Component } from 'react'
import { Route, Redirect } from 'react-router-dom'
import 'antd/dist/antd.css';
import '../src/index.css'
import Head from './components/Head';
import Develop from './components/Develop'
import Available from './components/Available';
import Presentation from './components/Presentation'
import Policy from './components/Policy'
import DevelopForm from './pages/DevelopForm'
import AvailableForm from './pages/AvailableForm';
import PresentationForm from './pages/PresentationForm'
import PolicyForm from './pages/PolicyForm'
import AvailableChangeForm from './pages/AvailableChangeForm';
import DevelopChangeForm from './pages/DevelopChangeForm';
import PolicyChangeForm from './pages/PolicyChangeForm';
import PresentationChangeForm from './pages/PresentationChangeForm';

export default class App extends Component {
    render() {
        return (
            <div className="returndiv">
                <Head />
                {/* <Switch> */}
                <Route exact path="/" component={Develop} />
                <Route exact path="/develop" component={Develop} />
                <Route exact path="/available" component={Available} />
                <Route exact path="/presentation" component={Presentation} />
                <Route exact path="/policy" component={Policy} />
                <Route exact path="/developform" component={DevelopForm} />
                <Route exact path="/availableform" component={AvailableForm} />
                <Route exact path="/presentationform" component={PresentationForm} />
                <Route exact path="/policyform" component={PolicyForm} />
                <Route exact path="/availablechangeform" component={AvailableChangeForm} />
                <Route exact path="/developchangeform" component={DevelopChangeForm} />
                <Route exact path="/policychangeform" component={PolicyChangeForm} />
                <Route exact path="/presentationchangeform" component={PresentationChangeForm} />
                <Redirect to="/"></Redirect>
                {/* </Switch> */}
            </div>
        )
    }
}
